/*
 *
 */
package states;

/**
 * To override this you can just use setStateEventListener (set instead of add
 * because you shouldn't need more than one listener, so implementation should
 * be trivial). 
 * 
 * Make sure your class overrides toString and returns something useful.
 * 
 * @see Event
 * @author billkress
 */
public interface IEvent {

    /**
     * Called from StateEngine
     *  
     * @see Event.fireStateEvent
     */
    public void fireStateEvent();

    /**
     * @see Event.setStateEventListener
     * @param engine
     */
    public void setStateEventListener(StateEngine engine);
}
